﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace WXY.Course.Model
{
    public class RecommendInfo
    {
        public int Code { get; set; }

        public string Name { get; set; }

        public string Url { get; set; }

        public RecommendPosition Position { get; set; }

        public string Image { get; set; }
    }

    public enum RecommendPosition
    {
        [Display(Name = "首页顶部轮播")]
        IndexTop,

        [Display(Name = "首页底部")]
        IndexBottom
    }
}
